
package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务记录对象 e_task_log
 *
 * @author ruoyi
 * @date 2022-03-23
 */
public class ETaskLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 任务状态（执行未完毕、已执行完毕） */
    @Excel(name = "任务状态", readConverterExp = "执行未完毕、已执行完毕")
    private String taskState;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaskState(String taskState)
    {
        this.taskState = taskState;
    }

    public String getTaskState()
    {
        return taskState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskState", getTaskState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
